home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 1992 August / info-mac-1992.iso / Tips / High Speed Modem Use.txt < prev    next >
Internet Message Format  |  1992-08-29  |  45KB

  1. Date: Mon, 11 Jun 90 18:40:53 PDT
  2. From: psz@sumex-aim.stanford.edu (Peter Szolovits)
  3. Subject: Summary of advice on HST modems
  4.  
  5. Several days ago, I asked for help figuring out how to run my US Robotics
  6. Courier HST modem more efficiently for communication between my home Mac and a
  7. Unix box at the office (via a networked terminal concentrator).  The summary
  8. results are short:
  9.  
  10. 1.  Use zmodem rather than kermit, to avoid various delays in kermit
  11. handshaking (even with 1000-byte packets).  info-mac/comm/zterm-085.hqx
  12. contains a shareware communication program that supports zmodem, and I was also
  13. pointed to the latest White Knight and MicroPhone, both commercial products.
  14. At the Unix end, you need an implementation of zmodem, which is available in
  15. info-mac/unix/zmodem-part*.hqx.  (I had to get rid of a couple of spurious
  16. newlines in the Makefile to get it to make.)  The ZTerm/zmodem combination does
  17. indeed give me about 93% of theoretical max line utilization on large text
  18. files at 9600 baud.  I've had a bit of trouble uploading MacBinary II files,
  19. though not consistently.  For straight text dump, ZTerm can't keep up with
  20. scrolling at 9600 baud, so the buffer overruns and you lose captured data on a
  21. long file without flow control.  Zmodem transfer seems to work fine without
  22. flow control; I guess putting characters on the screen is what's much slower
  23. than capturing to a file, even having to do CRC checks and all.
  24.  
  25. 2.  Going from 9600 baud to 19,200 baud is highly "non-trivial", and although
  26. everyone thinks it can be done, I'm not sure if any of the respondents have
  27. actually done it routinely in ways that I could duplicate.  First of all, flow
  28. control is essential because the computers have license to send bits faster
  29. than the line can deliver them if compression fails to achieve 50%.  ^S/^Q
  30. (XON/XOFF) flow control is relatively easy to set up, but then interferes with
  31. the ability to send the full ASCII character set (worst, for me, is that it
  32. conflicts with Emacs ^S).  The HST modems also support hardware flow control
  33. via the RTS/CTS lines, but the normal Mac/modem cable does not connect these.
  34. Apparently the Mac only has one set of handshake lines, so the cable has to be
  35. custom-made to connect those to RTS/CTS at the modem; then you lose DTR and
  36. whatever the other line is now used for (CD or RI? for auto-answer?).  Second,
  37. many dial-ups are not set up for different computer/modem and modem/line data
  38. rates, so they only allow 9600 baud.  This can be fixed by politely asking (or
  39. bludgeoning) a system administrator, I'm told.  Third, you have to play with
  40. the communication parameters of whatever the modem is hooked to at the other
  41. end from your Mac.  This means either stty in Unix or the command language of
  42. your concentrator box.  Great mysteries abound here, though these too are, in
  43. principle, solvable.
  44.  
  45. Attached is the text of my correspondence with several VERY helpful people,
  46. whom I would like to thank: Marek Lugowski, Dave Platt, Michael Hoffhines,
  47. Charles E. Bess, Warren Burton, Christopher Owens, Chris Eliot, Thomas Wu
  48. Dave Bursik, and Veljko Roskar, in chronological order.
  49.  
  50. --Peter Szolovits
  51.  
  52. ----------------------------------------------------------------
  53. Moderators:
  54.     You may want to post the following under tips for others who want to
  55. dive into the details.  --Pete Szolovits
  56.  
  57.  
  58.  7-Jun-90  0:59:11-GMT,4351;000000000000
  59. Date: Wed, 6 Jun 1990 17:59:11 PDT
  60. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  61. To: Info-Mac@sumex-aim.stanford.edu
  62. Subject: Efficient use of Courier HST modems 
  63. Message-ID: <CMM.0.88.644720351.psz@sumex-aim.stanford.edu>
  64.  
  65. I have been frustrated by my inability to squeeze optimal performance out of
  66. our US Robotics Courier HST modems with any of the communication packages I
  67. have tried (or heard of) and wondered if anyone has found a reasonable solution
  68. to the identical problem.  Usually, in addition to some sort of terminal
  69. emulation, for which almost any program I've looked at does a reasonable job
  70. (e.g., Kermit is just fine), I want to do the fastest possible up and
  71. downloads.  For a download, this means going from a Unix box over ethernet to a
  72. network terminal concentrator like a CISCO box with these Courier HST modems,
  73. over a phone line to my Mac, with the same kind of modem.  Upload just reverses
  74. the path.  These modems (about two years old now) support 9600 baud with USR's
  75. own signaling scheme (roughly, it's a rapid-turnaround asymmetrical allocation
  76. of bandwidth, 9600/300, so even though it looks like full duplex, there's a
  77. fast channel and a slow channel that get swapped by the modems as they detect
  78. traffic volume).  In addition, these modems support error correction and the
  79. ability to do data compression, yielding, in principle, communication rates
  80. close to 19.2 kilobits/sec.
  81.  
  82. Transferring an HQX file, for example, should at best give me close to 2000
  83. bytes/sec, at the 19.2K transfer rate.  In fact, I count myself lucky if I get
  84. anywhere near a fifth of that.  Why?
  85.  
  86. 1.  Looking at the "receive data" and "send data" lights, I see that most of
  87. the time is spent waiting for handshakes.  Using 1000-byte Kermit packets, for
  88. example, I can see that the whole packet comes in one short burst (sometimes
  89. with a noticable short gap in the middle, if the Ethernet packetization between
  90. the Unix box and the terminal concentrator is slow).  Then there's at least an
  91. equal-length delay while the acknowledgement goes back.  Clearly, the situation
  92. is better than if we still had only 94-character (or XMODEM's 128-character)
  93. packets, but as baud rates rise, more and more of the time goes into waiting
  94. for the handshake.  I've read about sliding-windows Kermit and other such
  95. attempts to get around this particular problem, but as far as I can tell this
  96. hasn't made it into any of the programs I own (Kermit) or have been able to get
  97. my hands on to test (Versaterm Pro 2.20, Red Ryder 9.4, Smartcom II,
  98. MacTerminal 2.2).
  99.  
  100. 2.  In order to use data compression or automatic error correction, you must be
  101. able to support flow control.  The Courier modems support either XON/XOFF flow
  102. control or hardware flow control (RTS/CTS lines in RS-232).  Hardware flow
  103. control is clearly better because it doesn't interfere with use of the full
  104. character set.  For example, I like to use Emacs, which binds Control-S as the
  105. search key.  Also 8-bit downloads mean I can send binary files, if all the
  106. signalling can be out-of-band.  Alas, no comm program I've seen supports
  107. RTS/CTS flow control.  There was a recent info-mac posting of multistation-320,
  108. which supports CTS/DTR handshake, but that program does not include file
  109. transfers, and also DTR is the "wrong" signal.  Historically, it tells the
  110. modem whether the attached device is up or down, not free or busy.  With the
  111. Courier HST, resetting it causes the modem to drop the connection (at least
  112. when in error-correcting mode).
  113.  
  114. 3.  With the error correction and retry built into these modems, it seems like
  115. the protocols used by the various communication programs should be redundant.
  116. My experience with Kermit file transfers is that with ARQ on (Automatic Retry
  117. Request -- the modem's error-correction feature), Kermit never sees any errors,
  118. though I suppose it could time out if the phone line were so noisy that the
  119. modem's own protocol could not get a Kermit packet through in the allowed time.
  120.  
  121. Is there actually a workable and closer to optimal solution that I am just
  122. overlooking?  Do I simply have to settle for hour-long downloads that should be
  123. achievable in less than 15 minutes?  Thanks for any information, and I'll be
  124. happy to post to the net if there's good news.
  125.  
  126. -- Peter Szolovits
  127. MIT Lab for Computer Science
  128. (this year Stanford Medical Computer Science)
  129.  7-Jun-90 23:48:39-GMT,3202;000000000011
  130. Return-Path: <marek@iuvax.cs.indiana.edu>
  131. Received: from iuvax.cs.indiana.edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  132.     id AA16685; Thu, 7 Jun 90 16:48:36 PDT
  133. Message-Id: <9006072348.AA16685@sumex-aim.stanford.edu>
  134. Received: by iuvax.cs.indiana.edu 
  135. Date: Thu, 7 Jun 90 18:46:11 -0500
  136. >From: Marek Lugowski <marek@iuvax.cs.indiana.edu>
  137. To: psz@sumex-aim.stanford.edu
  138. Subject: HST modems, fellow user's comments
  139. Cc: marek@iuvax.cs.indiana.edu
  140.  
  141. Professor Szolovits,
  142.  
  143. I use an HST from home and our departmental dial-in machine, iuvax,
  144. uses them also.  I live in a forest, served by arguably the country's
  145. least avantgarde rural phone utility, Smithsville Telephone.  My
  146. drive-in distance is 17 miles, which may be a good upper bound on the
  147. telephone traffic.  The as-the-crow-flies distances is 7 miles, an
  148. unrealistic lower-bound, given Lake Monroe in the way.
  149.  
  150. In short, with shareware ZTerm (by David Alverson, who reads info-mac
  151. I beleive) (archived at your sumex-aim.stanford.edu,
  152. ~ftp/info-mac/comm) I get 940 cps in zmodem, downloading, on average,
  153. for files 50K and longer.  It takes a while to get to that speed (no
  154. CRC errors). 948 cps is the highest I've noticed.  This is with my HST
  155. set to 9600 baud, 19.2k or 38.4k, no hardware control (I believe the
  156. modems recognize each other and control accordingly; my incantation:
  157. at e1 m1 v1 &b1 &h1 &n0 dt...).  The higher baud settings are of not
  158. much consequence to me in downloading from iuvax.  On the other hand,
  159. anything but 9600 is bad news for uploads because HST winds up and
  160. delivers a pitch that is just too fast for the communication link and
  161. ends up retrying at lower pace...  I get nearly 900 cps uploading, when
  162. iuvax is not very busy.
  163.  
  164. In short, ZTerm gives me a reasonable vt100 emulation to other HSTs,
  165. and zmodem, xmodem, y-modem and text transfers (but no Kermit),
  166. important interrupts and controls, convenient two-click startup
  167. document, scripting, buffered keyboard, reasonably convenient menus
  168. and command-shortcuts, some basic color customization (no color-picker
  169. or font control but the default is pleasing, black on yellow) as well
  170. as macros.  The Zmodem is very convenient in automatically sending an
  171. "rz" command to the iuvax and automatically starting its own process
  172. on the mac given an "sz".  Minimal fuss.  All of this in pre release
  173. 1.0 (0.85)!  ZTerm is pretty orthodox in not wanting to bind the
  174. control- key to anything else (such as command-) which really hurts me
  175. in GNU Emacs on my tactilely beautiful / layout-miserable Datadesk
  176. MAC-101 keyboard (one control key in the lower-right corner of the
  177. strike zone; any ideas on surgically rebinding the free-motion
  178. caps-lock?).
  179.  
  180. Hope this helps.  Please feel free to quote and hope you uncover better
  181. news.   These HST modems are wonderful, survive accidental phone cradle
  182. upheavals without a single protest, look like ravens, etc...
  183.  
  184. I would like to do twice as well as 948 cps but I take it this is
  185. already twice as nice as what you have been able to get, and I do live
  186. in the woods.
  187.  
  188.                 -- Marek
  189.  
  190. Marek Lugowski
  191. Artificial Life Research Group
  192. Computer Science Department
  193. Lindley Hall 101
  194. Indiana University
  195. Bloomington, Indiana 47406
  196.  
  197. marek@iuvax.cs.indiana.edu
  198.  
  199.  7-Jun-90 23:54:07-GMT,6007;000000000011
  200. Return-Path: <coherent!dplatt@ames.arc.nasa.gov>
  201. Received: from ames.arc.nasa.gov by sumex-aim.stanford.edu (4.0/inc-1.0)
  202.     id AA16794; Thu, 7 Jun 90 16:54:03 PDT
  203. Received: by ames.arc.nasa.gov (5.61/1.2); Thu, 7 Jun 90 16:51:36 -0700
  204. Received: from improper.coherent.com by coherent.com (4.1/SMI-3.2)
  205.     id AA18939; Thu, 7 Jun 90 16:42:16 PDT
  206. Received: by improper.coherent.com (4.0/SMI-3.2)
  207.     id AA13399; Thu, 7 Jun 90 16:42:16 PDT
  208. Message-Id: <9006072342.AA13399@improper.coherent.com>
  209. >From: dplatt@coherent.com (Dave Platt)
  210. Date: Thu, 7 Jun 90 16:42:14 PDT
  211. X-Mailer: Mail User's Shell (7.0.0 12/10/89)
  212. To: psz@sumex-aim.stanford.edu
  213. Subject: Re: High speed modem use with Mac telecom packages
  214. Cc: Info-Mac@sumex-aim.stanford.edu
  215.  
  216. I've been able to use U.S. Robotics HST Dual Standard modems very effectively
  217. with my Sun SparcStation and my Mac II at home.  Very-fast downloads are
  218. quite possible... 9600 bits/second or better is not all that uncommon.
  219.  
  220. Here's what I've learned during my experimentation:
  221.  
  222. 1) It is _not_ sufficient to depend on the error correction supplied by
  223.    the modems... this correction guards against phone-line errors, but
  224.    doesn't protect you against data loss or corruption between a modem
  225.    and a computer.  It's quite possible for a Mac's serial port to drop
  226.    a byte or two, if you're writing large blocks of data to disk
  227.    (interrupts are turned off, and serial-controller overruns can
  228.    occur).  Program-to-program error detection and correction is a
  229.    _must_!
  230.  
  231. 2) Software protocols which have packet-level, stop-and-wait error
  232.    detection and flow control (e.g.  Kermit and XMODEM) don't ride well
  233.    on top of modem-to-modem error detection and correction schemes which
  234.    are also packet-based (e.g. MNP).  This is probably why you've
  235.    noticed such a severe slowdown when you use KERMIT.  
  236.  
  237.    When your mainframe sends a packet, the modem will break it up into
  238.    one or more modem-to-modem packets (each with its own error-detection
  239.    checksum or CRC).  The receiving modem must receive each such packet
  240.    completely, and validate it, before it can send the first character
  241.    of the packet to your Mac.  This introduces quite a significant
  242.    delay... for example, if the modems are sending 256-byte packets at
  243.    9600 bits/second, there will be roughly a 1/4-second delay introduced
  244.    at the modem-to-Mac end.  There may be an additional delay introduced
  245.    at the mainframe-to-modem end... the modem may wait to suck up a
  246.    whole packet's worth of characters before sending them to its peer
  247.    across the phone line.
  248.  
  249.    Once the Mac receives the end-of-packet characters from the modem, it
  250.    must recompute the block checksum and send an "ack" packet to the
  251.    modem.  There may be an additional delay introduced before this "ack"
  252.    is sent to the mainframe by the modem at the other end.
  253.  
  254.    The net result of this extra packet-building and buffering is that
  255.    the sending KERMIT program sits around waiting for quite some time
  256.    before it receives the "ack" and can send another packet.
  257.  
  258. 3) The best way to get around this problem is to use a protocol which
  259.    supports ack-less streaming, or a sliding-window ack protocol.  The
  260.    one I've used most heavily is the ZMODEM protocol, which normally
  261.    operates in streaming mode (no ACKs... just NAKs which say "Back up
  262.    to byte NNN and resend from there").
  263.  
  264.    ZMODEM can also operate in a sliding-window mode... it has a
  265.    four-packet window which can be set for a total window size of up to
  266.    2k bytes (in the version I use).  I find this mode to be _extremely_
  267.    useful when sending from a Sun to my Mac.  It adds a very useful
  268.    degree of protocol-based flow control... the Sun won't overrun the
  269.    modem's internal buffers if the line gets noisy and the modems must
  270.    retransmit some data.  When the connection is clean (no noise), the
  271.    window is large enough that the Sun can keep the pipeline full of
  272.    data... it gets its ACK back for packet 1 before it has finished
  273.    sending packet 4, for example... and the receiving end _never_ sees a
  274.    pause in the transmission.  It isn't necessary to use XON/XOFF
  275.    software flow control, or RTS/CTS hardware flow control.
  276.  
  277.    Quite a few Mac telecom programs now support ZMODEM... ZTerm 0.85,
  278.    MicroPhone II, and White Knight come to mind.  I don't know which
  279.    programs (if any) support sliding-windows KERMIT downloading.  On the
  280.    Sun, the "rzsz" package provides the necessary host software.
  281.  
  282. 4) Another way to get around protocol-layering problems is to use a
  283.    modem which supports protocol spoofing... e.g. the Telebit T-1000 or
  284.    TrailBlazer Plus.  These modems are very popular for "spoofing"
  285.    high-speed uucp connections, and they can also spoof XMODEM and
  286.    KERMIT.  They aren't in common use on bulletin-board systems or for
  287.    general-purpose dialin, however.
  288.  
  289. 5) The Macintosh has only one set of "handshake" lines. The commonest
  290.    hookup is to hook the "handshake out" to the modem's DTR pin [so that
  291.    the modem hangs up if you quit from your telecom program] and connect
  292.    "handshake in" to the carrier-detect pin.
  293.  
  294.    If you want to use hardware flow control, connect "handshake out" to
  295.    the modem's "request to send" input, connect "handshake in" to the
  296.    modem's "clear to send" output, and configure your modem to use
  297.    RTS/CTS handshaking.  Not all modems support this sort of
  298.    handshaking, as it's not an official part of the original RS-232
  299.    specification.  If you use this sort of hookup, make sure that you
  300.    remember to hang up your modem when you log out... the modem will
  301.    _not_ automatically hang up and drop carrier if you quit your telecom
  302.    program or shut down the Mac.
  303.  
  304.  
  305.  
  306.  
  307. -- 
  308. Dave Platt                                             VOICE: (415) 493-8805
  309.   UUCP: ...!{ames,apple,uunet}!coherent!dplatt   DOMAIN: dplatt@coherent.com
  310.   INTERNET:       coherent!dplatt@ames.arpa,  ...@uunet.uu.net 
  311.   USNAIL: Coherent Thought Inc.  3350 West Bayshore #205  Palo Alto CA 94303
  312.  
  313.  8-Jun-90  0:51:03-GMT,425;000000000000
  314. Date: Thu, 7 Jun 1990 17:51:02 PDT
  315. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  316. To: Marek Lugowski <marek@iuvax.cs.indiana.edu>
  317. Subject: Re: HST modems, fellow user's comments 
  318. In-Reply-To: Your message of Thu, 7 Jun 90 18:46:11 -0500 
  319. Message-ID: <CMM.0.88.644806262.psz@sumex-aim.stanford.edu>
  320.  
  321. Thanks for your note.  I'll check out ZTerm, and (if/when more responses
  322. arrive) summarize to the net.  --Pete Szolovits
  323.  8-Jun-90  0:53:30-GMT,1998;000000000011
  324. Return-Path: <mah@uhccux.uhcc.hawaii.edu>
  325. Received: from uhccux.uhcc.Hawaii.Edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  326.     id AA18156; Thu, 7 Jun 90 17:53:29 PDT
  327. Received: by uhccux.uhcc.Hawaii.Edu (5.61/Ultrix3.1)
  328.     id AA06407; Thu, 7 Jun 90 14:51:10 -1000
  329. Date: Thu, 7 Jun 90 14:51:10 -1000
  330. >From: Michael Hoffhines  <mah@uhccux.uhcc.hawaii.edu>
  331. To: Peter Szolovits <psz@sumex-aim.stanford.edu>
  332. Subject: Efficient use of Courier HST modems 
  333. Message-Id: <CMM.0.88.644806269.mah@>
  334.  
  335. Peter in a recent digets you write -
  336.  
  337. >I have been frustrated by my inability to squeeze optimal performance out of
  338. >our US Robotics Courier HST modems with any of the communication packages I
  339. >have tried (or heard of) and wondered if anyone has found a reasonable
  340. >solution to the identical problem.
  341. I do not believe that your Courier is at fault. Although I have no experience
  342. with the Courier HST, I have experienced similar levels of frustration with
  343. Kermit using a number of different implementations and decided - as you 
  344. apparently have - that the protocol is not all that efficient.
  345.  
  346. Recently, I have been using White Knight 11.x (aka Red Ryder) and the zmodem
  347. protocol to nearly double my file transfer efficiencies. With kermit, I 
  348. would routinely operate at around 50% of theoretical max and with zmodem that
  349. goes close to 98%. In the sumex archives, there is a unix zmodem implementation
  350. that I was able to compile for our vax with little difficulty. It was worth
  351. all the effort.
  352.  
  353. Hope this helps and good luck.
  354.  
  355. - Mike
  356.  
  357. >-----------------------------------------------------------------------------<
  358. > Michael Hoffhines                    | INTERNET: mah@uhccux.uhcc.Hawaii.Edu <
  359. > ICS Department                       | BITNET: man@uhccux.BITNET            <
  360. > University of Hawaii                 |
  361. >-----------------------------------------------------------------------------<
  362. > "Hey, hey, hey. Don't be mean." B. Bonzai
  363. >-----------------------------------------------------------------------------<
  364.  
  365.  8-Jun-90  0:55:55-GMT,474;000000000000
  366. Date: Thu, 7 Jun 1990 17:55:55 PDT
  367. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  368. To: dplatt@coherent.com (Dave Platt)
  369. Subject: Re: High speed modem use with Mac telecom packages 
  370. In-Reply-To: Your message of Thu, 7 Jun 90 16:42:14 PDT 
  371. Message-ID: <CMM.0.88.644806555.psz@sumex-aim.stanford.edu>
  372.  
  373. Thanks for your thoughtful and helpful comments.  I'll take a look at the
  374. zmodem option, and summarize your response to the net when I get more replies.
  375. --Peter Szolovits
  376.  8-Jun-90  0:57:56-GMT,465;000000000000
  377. Date: Thu, 7 Jun 1990 17:57:55 PDT
  378. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  379. To: Michael Hoffhines <mah@uhccux.uhcc.hawaii.edu>
  380. Subject: Re: Efficient use of Courier HST modems 
  381. In-Reply-To: Your message of Thu, 7 Jun 90 14:51:10 -1000 
  382. Message-ID: <CMM.0.88.644806675.psz@sumex-aim.stanford.edu>
  383.  
  384. Thanks for your note.  I'll try out the zmodem approach, and include your
  385. response in a summary posting.  So far, everyone likes zmodem.  
  386. --Peter Szolovits
  387.  8-Jun-90 12:38:58-GMT,3112;000000000011
  388. Return-Path: <CEBESS%KOESS.gm@hac2arpa.hac.com>
  389. Received: from hac2arpa.hac.com by sumex-aim.stanford.edu (4.0/inc-1.0)
  390.     id AA29093; Fri, 8 Jun 90 05:38:56 PDT
  391. Received: by hac2arpa.hac.com (5.61++/SMI-DDN)
  392.     id AA18280; Fri, 8 Jun 90 05:37:23 -0700
  393. Date: Fri, 8 Jun 90 05:37:23 -0700
  394. Message-Id: <9006081237.AA18280@hac2arpa.hac.com>
  395. Received: by DnaMail (v1.1); Fri Jun  8 05:21:33 1990 PDT
  396. >From: CEBESS%KOESS.gm@hac2arpa.hac.com       (CEBESS)
  397. To: ::ARPA::psz@sumex-aim.stanford.edu
  398. Subject: slow file transfers
  399.  
  400. I will attempt to address at least one of your problems. Yes, the protocal has
  401. quite a bit to do with file transfer rate. I use White Knight (version 10 of
  402. Red Rider). It supports Zmodem. I have been able to achieve 97% efficiency over
  403. 9600 baud file transfers (about 930 char/sec). Sliding windows kermit should
  404. give you similar results. I know that sliding windows Kermit is available for
  405. both the Mac (latest version of Mac Kermit), VMS and DOS machines. You will
  406. normally see the receive or transmit (depending on what you are doing) stay on
  407. continually and the other light flash every few seconds (depending on packet
  408. size).
  409.  
  410. You have a missconception about a couple of issues about the 19.2 capability of
  411. the modem. It achives 19200 by doing data compression during the transfer. This
  412. is VERY data dependant. You will probably get no compression from a .SIT file.
  413. You should see some level of compression on a .HQX file. The other item is that
  414. if it were 100% efficient you would see about 1920 chars per second because
  415. there is usually 10 bits of data for every byte (stop bit and possible parity).
  416. The only way to get that speed is just a straight ascii dump.
  417.  
  418. One of the larges hurdles I find is the work and tuning of the system at the
  419. other end. The Mac should be capable of handling the speed (unless you are
  420. doing Multi-finder jobs of size). The system on the other end needs its type
  421. ahead buffers etc set up to handle the job. Also you mentioned the CISCO box
  422. going to Ethernet. This has added another level of packetizing and protocal
  423. that slow down the process. The CISCO box is very dependant on network traffic
  424. because it has no prioritizing method for small packets (your ACKs from
  425. Kermit). You are also right about the fact that a dirty phone line will cause
  426. these modems to go slightly spastic (without loosing any data of course).
  427.  
  428. I hope this helps you. I would suggest going to Zmodem if you can find it.
  429. Programs that support it are Zterm (available on the net or other services),
  430. WK and I think Microphone II. The smaller packets can take their time coming
  431. back because the transfer does not wait for them. It is available for most
  432. machines now I believe.
  433.  
  434. Charles E. Bess                 Internet: CEBESS%KOESS.gm@HAC2ARPA.hac.com      
  435. Electronic Data Systems         Dial-8  : 8-360-5646                            
  436. Suite 100C                      AT&T    : (317) 240-5646                        
  437. 2601 Fortune Circle East,       FAX     : (317) 240-5622
  438. Indianapolis, IN 46241-5513     CPS     : 72437,3132
  439.                                 America OnLine : CEBess
  440.  
  441.  
  442.  
  443.  
  444.  8-Jun-90 15:00:53-GMT,954;000000000011
  445. Return-Path: <burton@cs.sfu.ca>
  446. Received: from relay.CDNnet.CA by sumex-aim.stanford.edu (4.0/inc-1.0)
  447.     id AA00629; Fri, 8 Jun 90 08:00:47 PDT
  448. >From: burton@cs.sfu.ca
  449. Received: by relay.CDNnet.CA (4.1/1.14)
  450.     id AA24490; Fri, 8 Jun 90 07:57:05 PDT
  451. Date:  8 Jun 90  7:31 -0700
  452. To: psz@sumex-aim.stanford.edu
  453. Cc: burton@cs.sfu.ca
  454. Message-Id: <9006081431.AA13785@cs.sfu.ca>
  455. Subject: Re: Efficient use of Courier HST modems
  456.  
  457. Pete,
  458.  
  459. ...
  460.  
  461. As to efficient use of courier HST modems, you will get much better
  462. performance with ZTerm.  I get around 1800 char/sec. under good
  463. conditions using a 14.4 kb Courier HST.  StuffIt files, of course, are
  464. slower since less data compression is possible.
  465.  
  466. I expect you have 20 replies telling you how to get ZTerm and the Unix
  467. side software (sz and rz).  If not, or if you want more information, let
  468. me know.
  469.  
  470. Warren Burton
  471. burton@cs.sfu.ca
  472.  
  473.  8-Jun-90 18:01:09-GMT,3059;000000000011
  474. Received: from gargoyle.uchicago.edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  475.     id AA05267; Fri, 8 Jun 90 11:00:44 PDT
  476. Received: by gargoyle.uchicago.edu from tartarus.uchicago.edu (5.59/1.14)
  477.     id AA13561; Fri, 8 Jun 90 12:58:23 199
  478. Return-Path: <owens@cs.uchicago.edu>
  479. Received:  by tartarus.uchicago.edu (4.0/UofC4.0x)
  480.     id AA02518; Fri, 8 Jun 90 12:58:22 CDT
  481. Date: Fri, 8 Jun 90 12:58:22 CDT
  482. >From: Christopher Owens <owens@gargoyle.uchicago.edu>
  483. Message-Id: <9006081758.AA02518@tartarus.uchicago.edu>
  484. To: Peter Szolovits <psz@sumex-aim.stanford.edu>
  485. Subject: Courier HST
  486.  
  487.  
  488. I, too use an HST and a Macintosh, and have thought about many of the
  489. issues you are raising in your post.  
  490.  
  491. As for raw speed, you are right that you want hardware flow control.
  492. White Knight 11.0 (the successor to Red Ryder) claims to support
  493. rts/cts flow control.  Of course, that means you will need a different
  494. cable from mac to modem, because the @#$%^ mac serial ports have only
  495. 2 handshaking lines -- the interface can be (software) configured to
  496. use them either as DTR/CD (I think?) or as RTS/CTS, but the mapping of
  497. macintosh pins to modem connector pins will depend on which you are
  498. using.  Although I generally like WK11.0 (gets ctrl-space right, for
  499. example) I haven't tried out hardware flow control yet, because I have
  500. not got around to acquiring the proper cable.  I think MicroPhone
  501. supports it as well, but I've never played with it.
  502.  
  503. But there is another problem, which is that these modems have two
  504. (relevant) modes -- line speed floats independent of modem-to-computer
  505. link speed, or line speed follows modem-to-computer link speed. The
  506. unit at the Unix end is probably configured the latter way, which is
  507. appropriate for normal dialins from dumb terminals/modems.  The
  508. problem with configuring it the former way is that when someone dials
  509. in at some arbitrary baud rate (not using compresssion) and the modem
  510. recognizes this, you want the computer-to-modem link to also be set to
  511. this same baud rate.  The problem with configuring it the latter way
  512. is that as long as the modem at the Unix end is communicating with the
  513. computer at 9600 baud, you won't get much advantage out of the 19.2 KB
  514. modem-to-modem link.  Talk to the datacomm folks at your site about
  515. this issue -- see if you can find a solution to this, and please let
  516. me know!
  517.  
  518. You still want an error correction communication protocol, because
  519. even though ARQ guarantees the integrity of the modem-to-modem link,
  520. you want to guarantee the complete end-to-end link.  Every protocol
  521. requires some handshaking between packets; the only question is how
  522. much.  I've been using Zmodem, which does suffer from the turnaround
  523. delay you describe.  Somebody ought to write a protocol that uses
  524. multiple buffers at each end and acknowledges packets asyncronously.
  525.  
  526. Please post any results you get.
  527.  
  528.  
  529. Christopher Owens
  530. Department of Computer Science                 1100 East 58th Street
  531. The University of Chicago                      Chicago, IL 60637
  532. owens@gargoyle.uchicago.edu                    (312) 702-2505
  533.  
  534.  8-Jun-90 18:15:08-GMT,2783;000000000000
  535. Date: Fri, 8 Jun 1990 11:15:08 PDT
  536. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  537. To: CEBESS%KOESS.gm@hac2arpa.hac.com (CEBESS)
  538. Subject: Re: slow file transfers 
  539. In-Reply-To: Your message of Fri, 8 Jun 90 05:37:23 -0700 
  540. Message-ID: <CMM.0.88.644868908.psz@sumex-aim.stanford.edu>
  541.  
  542. Thanks for your suggestions.  I have also been directed by a couple of other
  543. people to using zmodem rather than Kermit protocols, and have just started to
  544. use ZTerm instead of my old Kermit.  Indeed, I just tried downloading a long
  545. file and I got 93% line use (according to ZTerm), which is quite good given the
  546. extra indirection of the CISCO box.  I did not realize that there was a new
  547. Kermit with sliding windows for the Mac.
  548.  
  549. I know that .sit files will not compress, but I would expect typical text files
  550. to compress by nearly 50%, assuming that the compression algorithm is something
  551. like the Lempel-Ziv that is used in Stuffit and friends.  The major problem
  552. I've had even to try this out is the difficulty of hardware handshaking from
  553. the Mac.  As I mentioned in my net message, I don't like XON/XOFF handshakes
  554. because they get in the way of the "real" data I need to send.  Perhaps if comm
  555. programs just turned it on during file up/download, that would be acceptable,
  556. because it would leave me my beloved control keys for Emacs.  Dynamically
  557. setting this stuff is hard, though, because of the complexity of intermediate
  558. nodes.  In my setup, for example, I think (but am not sure) that I would have
  559. to tell the CISCO box to turn on hardware flow control between it and the modem
  560. to be able to use the modem's data compression, and also to turn off its escape
  561. character if I want to be able to send unquoted binary (so ^^ doesn't get
  562. trapped).  In addition, the Mac's serial port seems to have a generic
  563. "handshake in/out" pair of lines in place of the more normal RS-232 port's
  564. multiplicity of signaling lines.  I think the standard Mac-to-modem cable
  565. connects these to DTR and CD or RI (I'm not sure), not to RTS/CTS, which the
  566. HST modems expect to use for hardware flow control.  So just to do the
  567. experiment, I'd have to make a custom cable and modify some Mac comm program,
  568. and then I'd lose the ability to drop DTR to get the modem to hang up, or maybe
  569. even the ability to auto-answer (if it's RI that now uses that other signal
  570. line).
  571.  
  572. In any case, getting to almost 9600 baud is still a lot better than what I was
  573. getting before.  I still miss flow control because ZTerm (at least) can't quite
  574. really keep up with 9600 (on a IIx), and eventually drops characters.
  575. Do you know if there's any significant difference in the speed of the
  576. various comm programs you mentioned?
  577.  
  578. Again, thanks for the info.  --Peter Szolovits
  579.  
  580. P.S.  I'll include your comments in my summary to the net.
  581.  
  582.  8-Jun-90 18:21:37-GMT,1310;000000000000
  583. Date: Fri, 8 Jun 1990 11:21:37 PDT
  584. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  585. To: burton@cs.sfu.ca
  586. Subject: Re: Efficient use of Courier HST modems 
  587. In-Reply-To: Your message of 8 Jun 90 7:31 -0700 
  588. Message-ID: <CMM.0.88.644869297.psz@sumex-aim.stanford.edu>
  589.  
  590. ...
  591.  
  592. Thanks for the info, which you're right has also been suggested by others (4,
  593. not 20).  ZTerm does in fact give me much better transfer rates (about 93% at
  594. 9600), but I have not yet been able to figure out how to make it work with the
  595. hardware handshake of the HST modems.  I know (I think) how to set up the HST's
  596. for 19.2K communication with the Mac and 9600 over the phone, and this should
  597. (with the right other settings) get it to use data compression.  However,
  598. neither Zterm nor anything else I know can tickle the RTS/CTS lines the HST is
  599. interested in.  So, it all works only with XON/XOFF, because without flow
  600. control the modem eventually overruns the Mac (it's a IIx, but can't seem to
  601. keep up).  I dislike XON/XOFF for the reasons I mentioned in my net post.  Have
  602. you gotten around this problem?  If so, how?
  603.  
  604. Thanks for the info.  --Pete
  605.  
  606.  8-Jun-90 18:35:47-GMT,1108;000000000000
  607. Date: Fri, 8 Jun 1990 11:35:46 PDT
  608. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  609. To: Christopher Owens <owens@gargoyle.uchicago.edu>
  610. Subject: Re: Courier HST 
  611. In-Reply-To: Your message of Fri, 8 Jun 90 12:58:22 CDT 
  612. Message-ID: <CMM.0.88.644870146.psz@sumex-aim.stanford.edu>
  613.  
  614. Thank you for your informative note.  You rightly point out the possible
  615. problem for the Unix end; the comm managers at my lab at MIT made the "right"
  616. choice for the HST's; I don't know what the story is at Stanford, but will
  617. check.  The simplest cable fix is probably not a completely new cable but a
  618. short male-female pass-through that just swithest the appropriate sets of
  619. lines.  (Sort of like the null modems that switch 2-3, but without gender
  620. reversal).  This must be easier to make up than a new din-8 to D-25 cable.
  621.  
  622. At an earlier suggestion, I tried Zterm/sz(Zmodem), and did in fact get about
  623. 93% at 9600 baud, because zmodem only sends NAKs and just blasts through as
  624. long as there are no errors.  Now I'm surprised that it's slow for you!
  625.  
  626. Thanks very much, and I'll post your note to the net.  --Pete Szolovits
  627.  8-Jun-90 18:41:30-GMT,1286;000000000011
  628. Received: from gargoyle.uchicago.edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  629.     id AA06511; Fri, 8 Jun 90 11:41:22 PDT
  630. Received: by gargoyle.uchicago.edu from tartarus.uchicago.edu (5.59/1.14)
  631.     id AA14757; Fri, 8 Jun 90 13:39:05 199
  632. Return-Path: <owens@cs.uchicago.edu>
  633. Received:  by tartarus.uchicago.edu (4.0/UofC4.0x)
  634.     id AA03307; Fri, 8 Jun 90 13:39:03 CDT
  635. Date: Fri, 8 Jun 90 13:39:03 CDT
  636. >From: Christopher Owens <owens@gargoyle.uchicago.edu>
  637. Message-Id: <9006081839.AA03307@tartarus.uchicago.edu>
  638. To: psz@sumex-aim.stanford.edu
  639. In-Reply-To: Peter Szolovits's message of Fri, 8 Jun 1990 11:35:46 PDT <CMM.0.88.644870146.psz@sumex-aim.stanford.edu>
  640. Subject: Courier HST 
  641.  
  642.    Date: Fri, 8 Jun 1990 11:35:46 PDT
  643.    From: Peter Szolovits <psz@sumex-aim.stanford.edu>
  644.  
  645.    The simplest cable fix is probably not a completely new cable but a
  646.    short male-female pass-through that just swithest the appropriate sets of
  647.    lines. 
  648.  
  649. I'm not sure that will do it because I think the "standard"
  650. mac-to-modem cable doesn't pass one of the relevant pins at all, and
  651. it has some other pins jumpered together so that the modem always
  652. seees true on one of the relevant lines. (sorry to be so foggy)
  653.  
  654. Have fun and remember, datacom will only chew up as much of your
  655. research time as you let it.....
  656.  
  657.  8-Jun-90 23:46:52-GMT,1536;000000000001
  658. Return-Path: <burton@cs.sfu.ca>
  659. Received: from relay.CDNnet.CA by sumex-aim.stanford.edu (4.0/inc-1.0)
  660.     id AA16712; Fri, 8 Jun 90 16:46:14 PDT
  661. >From: burton@cs.sfu.ca
  662. Received: by relay.CDNnet.CA (4.1/1.14)
  663.     id AA03878; Fri, 8 Jun 90 16:43:23 PDT
  664. Date:  8 Jun 90 16:16 -0700
  665. To: psz@sumex-aim.stanford.edu
  666. Message-Id: <9006082316.AA19592@cs.sfu.ca>
  667. Subject: Re: Efficient use of Courier HST modems
  668.  
  669. >    However, neither Zterm nor anything else I know can tickle the
  670. >    RTS/CTS lines the HST is interested in.  So, it all works only
  671. >    with XON/XOFF, because without flow control the modem eventually
  672. >    overruns the Mac (it's a IIx, but can't seem to keep up).  I
  673. >    dislike XON/XOFF for the reasons I mentioned in my net post.
  674. >    Have you gotten around this problem?  If so, how?
  675.  
  676. I haven't gotten RTS/CTS to work either.  I think I am now running with
  677. no flow control (I would have to check at home to be sure--I have tried
  678. various combinations.)  On the Unix side I feed into a SPARCstation with
  679. a 19.2 k line, and set my Mac to 19.2.  Usually, I can send large files
  680. (sometimes several megabytes) with only a few resends, so I haven't
  681. worried about it further.  If you can set the line at both ends to
  682. operate at the same speed, thing should work okay in practice, even
  683. thought this doesn't seem like a very nice solution.  Please let me know
  684. if you come up with something better and I will try it.
  685.  
  686. ...
  687.  
  688. Warren
  689.  
  690.  9-Jun-90 18:26:36-GMT,1440;000000000001
  691. Return-Path: <ELIOT@cs.umass.edu>
  692. Received: from dime.cs.umass.edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  693.     id AA00261; Sat, 9 Jun 90 11:26:27 PDT
  694. Received: from vax3.cs.umass.edu by dime.cs.umass.edu (5.61/Ultrix2.0-B)
  695.     id AA08934; Sat, 9 Jun 90 10:38:28 -0400
  696. Message-Id: <9006091438.AA08934@dime.cs.umass.edu>
  697. Date: Sat, 9 Jun 90 10:37 EST
  698. >From: ELIOT@cs.umass.edu
  699. Subject: Efficient use of Courier HST modems
  700. To: psz@sumex-aim.stanford.edu
  701. X-Vms-To: in%"psz@sumex-aim.stanford.edu",ELIOT
  702.  
  703.     Hello Peter;
  704.     
  705.     With MacTerminal you can do a straight "Send File" or "Recieve File"
  706.     with no error detection or correction protocol.  If the modem
  707.     does a good enough job of error correction then this might work.
  708.     
  709.     With MacTerminal you can do uploads very easily.  Just turn on the
  710.     "Save Lines Off Top" option and tell your Unix box to print the
  711.     file. Quit and use any Mac Text editor to open a *copy* of your
  712.     saved Macterminal file.  Extract the part you want.  (Most text
  713.     editors will correct a saved MacTerminal file.)
  714.     [The word "upload" in the beginning of that Paragraph should have
  715.     been "download"]
  716.     
  717.     With an upload on a Vax I just tell if to copy into a file from
  718.     the terminal, and then use the "Send File.." file command.  However,
  719.     both of these procedures are subject to line noise, since my modem
  720.     has no hardware error handling.
  721.     
  722.     Good Luck
  723.     
  724.     Chris Eliot
  725.  
  726. 10-Jun-90 17:12:07-GMT,2360;000000000011
  727. Return-Path: <@zermatt.lcs.mit.edu,@HARVEY.lcs.mit.edu:tdwu@ZERMATT.lcs.mit.edu>
  728. Received: from lcs.mit.edu (MINTAKA.LCS.MIT.EDU) by sumex-aim.stanford.edu (4.0/inc-1.0)
  729.     id AA00992; Sun, 10 Jun 90 10:12:03 PDT
  730. Received: from ZERMATT.LCS.MIT.EDU by mintaka.lcs.mit.edu id aa01775;
  731.           10 Jun 90 13:04 EDT
  732. Received: from LCS.MIT.EDU by ZERMATT.LCS.MIT.EDU via INTERNET with SMTP id 36847; 10 Jun 90 13:04:41 EDT
  733. Received: from HARVEY.LCS.MIT.EDU by mintaka.lcs.mit.edu id aa01682;
  734.           10 Jun 90 13:02 EDT
  735. Date: Sun, 10 Jun 90 13:02 EDT
  736. >From: Thomas Wu <tdwu@zermatt.lcs.mit.edu>
  737. Subject: Courier HST file transfer
  738. To: psz@zermatt.lcs.mit.edu
  739. Cc: tdwu@zermatt.lcs.mit.edu
  740. Message-Id: <19900610170207.1.TDWU@HARVEY.LCS.MIT.EDU>
  741.  
  742.  
  743. Peter,
  744.  
  745. I saw your post on info-mac.  I also have one of the Courier HST 9600
  746. modems from our group, and I get near 100% transmission rate (960
  747. characters per second) when I upload and download to HX.
  748.  
  749. The trick is to use the Zmodem protocol (the sz and rz commands on
  750. UNIX), which doesn't acknowledge any packets unless there's an error.
  751. The Kermit, Xmodem, and normal Ymodem schemes both acknowledge every
  752. packet, which kills the transmission rate because of the asymmetric
  753. 9600/300 baud scheme.  (But Ymodem-G protocol, I think, is also like
  754. Zmodem in that it doesn't acknowledge each packet.)
  755.  
  756. The software I use is White Knight 11.  Red Ryder 9.4 apparently had
  757. problems with keeping up with 9600 baud screen updating; maybe it also
  758. couldn't keep up with 9600 baud file transfers.  There is a shareware
  759. program, Zterm, on info-mac that also supports Zmodem.
  760.  
  761. With regard to hardware handshaking, White Knight 11, Smartcom, and
  762. Microphone are supposed to support it, but you need the right cable.
  763. Most cables don't connect the CTS/DTS lines required.  I have an article
  764. >From MacUser which shows how to roll your own cable.  Some specialized
  765. companies also sell the right cable.  I haven't tried getting the right
  766. cable yet, so I don't know if all this will work.
  767.  
  768. With regard to Emacs, apparently there is a software hack for White
  769. Knight 11.  You can remap keys, so ^S and ^Q get changed to something
  770. the modem doesn't recognize.  Then, on the UNIX end, you also remap the
  771. keys for ^S and ^Q.  Again, I haven't really tried this yet.
  772.  
  773. Hope this helps; I initially had problems also when I first got the
  774. modem.
  775.  
  776. Tom
  777.  
  778. 11-Jun-90 15:26:15-GMT,601;000000000000
  779. Date: Mon, 11 Jun 1990 8:26:14 PDT
  780. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  781. To: Thomas Wu <tdwu@zermatt.lcs.mit.edu>
  782. Subject: Re: Courier HST file transfer 
  783. In-Reply-To: Your message of Sun, 10 Jun 90 13:02 EDT 
  784. Message-ID: <CMM.0.88.645117974.psz@sumex-aim.stanford.edu>
  785.  
  786. Thanks, Tom.  Your reply is very much in line with the other suggestions I've
  787. gotten, namely use zmodem.  Also, just like you, people think there are ways of
  788. using the 19.2KB feature and eating their cake too, but they haven't quite
  789. gotten around to it.  I'll include your response in my summary and posting.
  790.  
  791. --Pete
  792. 11-Jun-90 20:05:37-GMT,1432;000000000011
  793. Return-Path: <djb@ctc.contel.com>
  794. Received: from ctc.contel.com (turing.ctc.contel.com) by sumex-aim.stanford.edu (4.0/inc-1.0)
  795.     id AA22414; Mon, 11 Jun 90 13:05:32 PDT
  796. Received: from hobbes.ctc.contel.com by ctc.contel.com (4.0/SMI-4.0)
  797.     id AA00907; Mon, 11 Jun 90 16:03:27 EDT
  798. Date: Mon, 11 Jun 90 16:03:27 EDT
  799. >From: djb@ctc.contel.com (Dave Bursik  x4497)
  800. Message-Id: <9006112003.AA00907@ctc.contel.com>
  801. To: psz@sumex-aim.stanford.edu
  802. Subject: Re: Efficient use of Courier HST modems
  803.  
  804.  
  805. Peter,
  806. I read with interest your note on the Courier modem, as we
  807. have one of them here that I plan to use for high-speed
  808. dialup links (not sure exactly which model we have, just
  809. know that it's 9600).
  810.  
  811. I wonder if the link between the terminal concentrator
  812. and the host is what's slowing you down (as well as the
  813. load on the host).
  814.  
  815. If it's possible (in your environment), see if you can
  816. hook one of these modems to a serial port on the host
  817. (temporarily) to see if that reduces your download times.
  818. As a control on the "experiment", try picking a lightly-
  819. loaded machine or at least a time of day when the load
  820. is typically light.
  821.  
  822. I'd try it myself here, except I only have one modem
  823. right now, so it won't work very well.  :-}
  824.  
  825. Dave Bursik, Sr. Member of Technical Staff
  826. Contel Technology Center
  827. 15000 Conference Center Dr., P.O. Box 10814
  828. Chantilly, VA  22021-3808
  829. E-mail: djb@ctc.contel.com / Voice: (703) 818-4497 / FAX: (703) 818-5484
  830.  
  831. 11-Jun-90 22:39:06-GMT,1367;000000000011
  832. Return-Path: <ROSKAR@jhuvms.hcf.jhu.edu>
  833. Received: from jhuvms.hcf.jhu.edu by sumex-aim.stanford.edu (4.0/inc-1.0)
  834.     id AA29351; Mon, 11 Jun 90 15:39:03 PDT
  835. Date: Mon, 11 Jun 90 18:37 EDT
  836. >From: Veljko Roskar <ROSKAR@jhuvms.hcf.jhu.edu>
  837. Subject: Hardware flow control with a Mac
  838. To: psz@sumex-aim.stanford.edu
  839. Message-Id: <7F2DAF759EFF204F93@JHUVMS.BITNET>
  840. X-Envelope-To: psz@sumex-aim.stanford.edu
  841. X-Vms-To: IN%"psz@sumex-aim.stanford.edu"
  842.  
  843. Do you have the properly configured cable for hardware flow control?
  844. The standard Mac modem cable allows flow control in only one direction,
  845. which means you have to adapt it to allow RTS/CTS flow control.  
  846.  
  847. If you need to know how to do this, reply and I'll dig it up.  The only
  848. catch is that you sacrifice DTR, but you can tell the modem to ignore DTR or
  849. better configure the cable so the modem thinks DTR is always on.  That way you 
  850. can switch between communications programs without having the modem
  851. disconnect you.
  852.  
  853. ZTerm 0.85 supports hardware flow control and the Zmodem protocol works 
  854. really nice with a Unix machine.
  855.  
  856. Hope this helps.
  857.  
  858. Best regards,
  859.  
  860. Veljko Roskar                  BITNET:  roskar@jhuvms.bitnet
  861. Department of Chemical Engineering    INTERNET:  roskar@jhuvms.hcf.jhu.edu  
  862.    The Johns Hopkins University            UUCP:  !mimsy!aplcen!jhunix!roskar
  863.      Baltimore, Maryland 21218            tel.:  301-338-7054
  864.           U.S.A
  865.  
  866. 12-Jun-90  0:06:42-GMT,908;000000000000
  867. Date: Mon, 11 Jun 1990 17:06:42 PDT
  868. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  869. To: djb@ctc.contel.com (Dave Bursik x4497)
  870. Subject: Re: Efficient use of Courier HST modems 
  871. In-Reply-To: Your message of Mon, 11 Jun 90 16:03:27 EDT 
  872. Message-ID: <CMM.0.88.645149202.psz@sumex-aim.stanford.edu>
  873.  
  874. Thanks for your suggestion.  I tried that experiment, and have also noted
  875. fluctuations in efficiency based on both network and host load, but none of
  876. these makes enough of a difference.  I think the fundamental problem is the
  877. acknowledgement protocol used by Kermit and many of the others.  Numerous
  878. people who responded suggested zmodem, which does in fact seem to do much
  879. better, at least getting very close to the 9600-baud capabilities of the HST.
  880. It's much harder to achieve 19.2kb, for reasons I hope to summarize to the net.
  881. Even the improvement I've seen to 9600 is great, though.  --Peter Szolovits
  882.  
  883. 12-Jun-90  0:15:55-GMT,949;000000000000
  884. Date: Mon, 11 Jun 1990 17:15:54 PDT
  885. >From: Peter Szolovits <psz@sumex-aim.stanford.edu> 
  886. To: Veljko Roskar <ROSKAR@jhuvms.hcf.jhu.edu>
  887. Subject: Re: Hardware flow control with a Mac 
  888. In-Reply-To: Your message of Mon, 11 Jun 90 18:37 EDT 
  889. Message-ID: <CMM.0.88.645149754.psz@sumex-aim.stanford.edu>
  890.  
  891. Thank you for your comments.  I have received the same suggestion from a few
  892. others, and indeed zmodem/zterm work fine, at least up to 9600 baud.  I
  893. haven't been able to try at higher speeds because I don't have the right cable,
  894. and because our terminal concentrator is not set up for higher baud rates.  If
  895. it's not too much trouble, the pin assignments for the cable that works would
  896. be helpful.  As I see it, it looks like Zterm actually manipulates what it
  897. thinks is DTR, so presumably the cable needs to map whatever line that is
  898. normally in the DIN-8 output on the back of the Mac to the right pin for CTS or
  899. RTS at the Modem.
  900.  
  901. --Peter Szolovits
  902.  
  903.  
  904.  
  905.